package com.evil.application.pojo.dto;

import com.evil.application.pojo.entity.ApplicationInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 复制应用 请求实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CopyApplicationDTO {

    /**
     * 复制源
     */
    @NotNull(message = "source not null")
    private ApplicationInfo source;

    /**
     * 复制后
     */
    @NotNull(message = "target not null")
    private ApplicationInfo target;
}
